revQueryIsAtEnd
Type
function
Summary
Returns whether the end of a record set has been reached or not.
Syntax
revQueryIsAtEnd(<recordSetID>)
Description
Use the revQueryIsAtEnd function to stop when you reach the end of a record set.
If the operation is not successful, the revQueryIsAtEnd function returns an error message that begins with the string "revdberr"
Parameters
Name | Type | Description |
---|---|---|
recordSetID | The number returned by the revQueryDatabase function when the record set was created |
Examples
repeat until revQueryIsAtEnd(tCursor)
...
revMoveToNextRecord tCursor
end repeat
Related
command: revMoveToNextRecord, revMoveToNextRecord
function: revQueryIsAtStart
glossary: command
Compatibility and Support
Introduced
LiveCode 2.9
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile